#include "inputclass.h"

bool InputClass::Initialize()
{
	for(int i=0; i != 256; m_keys[i] = false, ++i)

	for(int i=0; i!= 4; m_mouse[i] = false, ++i);

	return true;
}


void InputClass::KeyDown(unsigned int input)
{
	m_keys[input] = true;
}

void InputClass::KeyUp(unsigned int input)
{
	m_keys[input] = false;
}

bool InputClass::IsKeyDown(unsigned int key)
{
	return m_keys[key];
}

bool InputClass::IsMouseKeyDown(unsigned int  key)
{
	return m_mouse[key];
}

void InputClass::MouseKeyDown(unsigned int  input)
{
	m_mouse[input] = true;
}

void InputClass::MouseKeyUp(unsigned int  input)
{
	m_mouse[input] = false;
}
